package cn.springboot.erp.commons;

public enum ResponseState {
    SUCCESS(0,"操作成功"),
    ERROR(500,"服务器异常，请稍后再试！"),
    FAIL(110,"操作失败");

    private Integer code;

    private String message;

    ResponseState(Integer code,String message){
        this.code=code;
        this.message=message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
